package com.yun.zf.app.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.yun.zf.common.admin.model.house.HouseDescMo;
import com.yun.zf.common.app.domain.ZfHouseDesc;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;

@Mapper
public interface ZfHouseDescMapper extends BaseMapper<ZfHouseDesc> {

    @Select("<script>" +
            " SELECT id,basic_id,description,modified_time from zf_house_desc WHERE basic_id=#{basicId} and city_code=#{cityCode} and province_code=#{provinceCode} " +
            "</script>")
    HouseDescMo getDes(Long basicId, Long provinceCode, Long cityCode);
}
